import request from '../../utils/request.js'
const state = {
	searchInfo: {}
}
const mutations = {
	SET_SEARCHINFO(state,searchInfo){
		state.searchInfo=searchInfo
	}

}
const actions = {
	async getSearchInfo({commit}){
		const result = await request('/getSearchInfo')
		commit('SET_SEARCHINFO',result)
	}
}
const getters = {

}

export default {
	state,
	mutations,
	actions,
	getters,
}
